package downpacket

import "gitee.com/yanwc/ebike-xiaoan-device/internal/field"

type ModifyAddressReq struct {
	Server string "json:\"server\""
}

func NewModifyAddressReq(sn field.SerialNumber, server string) *Req[ModifyAddressReq] {
	return &Req[ModifyAddressReq]{
		CmdWord: ModifyAddressCommandWord,
		MsgNo:   sn,
		Param: ModifyAddressReq{
			Server: server,
		},
	}
}
